package com.jingdianjichi.subject.domain.comvert;


import com.jingdianjichi.subject.domain.entity.SubjectLikedBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLiked;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectBOConverter {
    SubjectBOConverter INSTANCE = Mappers.getMapper(SubjectBOConverter.class);

    SubjectLiked convertLikedBOToEntity(SubjectLikedBO subjectLikedBO);
    List<SubjectLikedBO> convertLikedEntityToBOList(List<SubjectLiked> subjectLikedList);

}
